package test;

import java.text.ParseException;

import view.LoginPanel;

public class Application {
	public static void main(String[] args) throws ParseException {
//		StudentDao stu = new StudentImpl();
//		stu.findAll();
//		Room room = new Room(1,"122");
//		java.sql.Date d2;//将string型数据转成date型
//		String s1="2002-03-23";
//		d2=java.sql.Date.valueOf(s1);//将string型数据转成date型
//		stu.save(new Student("202025710607","陈梓佳1",d2,"18013293231","1556187522@qq.com","汕头",room));
//		stu.update(new Student("202025710607","陈梓佳",d2,"18013293231","1556187522@qq.com","广东省汕头市",room));
//		stu.delete("202025710607");
		new LoginPanel();
	}
}
